#include "Floor.h"


Floor::Floor(void)
{
	data = new int[100*100];
}


Floor::~Floor(void)
{
}


void Floor::render()
{

}

void Floor::setTile(int x,int y,int tileID)
{
	if(x<0||x>sizex||y<0||y>sizey) return;
	data[x+y*sizex] = tileID;
}

int Floor::getTile(int x,int y)
{
if(x<0||x>sizex||y<0||y>sizey) return -1;
}
